package cn.com.dycc.meeting_assist.meeting_summary.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.meeting_assist.meeting_summary.entity.Summary;
import cn.com.dycc.meeting_assist.meeting_summary.param.FindSummaryParam;
import cn.com.dycc.meeting_assist.meeting_summary.param.SummaryParam;






/**
 * 
 * Description: 会议纪要管理dao层
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年10月29日 上午10:01:45.
 * Update Date Time: 
 * @see
 */
@Repository("summaryDao")
public interface SummaryDao {
	
	int addSummary(Summary summary);
	int deleteSummary(
			@Param("meeting_id")String meeting_id,
			@Param("org_id")String org_id);
	int updateSummary(Summary summary);
	SummaryParam findSummaryById(
			@Param("meeting_id")String meeting_id,
			@Param("org_id")String org_id);
	
	List<SummaryParam> findSummaryByParam(FindSummaryParam summary);
	String countSummaryByParam(FindSummaryParam summary);
}
